package umputun.jutw.storage;
/*
 Copyright 2009 Umputun

 This file is part of JUTW.

 JUTW is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.

 JUTW is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.

 You should have received a copy of the GNU General Public License
 along with JUTW.  If not, see http://www.gnu.org/licenses/.
*/

import java.math.BigInteger;

public interface IDataStorage {

	public void setUserLastTwiID(String user, BigInteger id) throws DataStorageException;
	public BigInteger getUserLastTwiID(String user);

	public void setUserLastRssID(String user, long id) throws DataStorageException;
	public long getUserLastRssID(String user);

	public static class DataStorageException extends Exception {
		private static final long serialVersionUID = 1L;
	}
}

